import request from '@/utils/request';

export function listPatient(query) {
  return request({
    url: '/system/patient/list',
    method: 'get',
    params: query
  });
}

export function getPatient(id) {
  return request({
    url: '/system/patient/' + id,
    method: 'get'
  });
}